package com.shun.upms.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 管理人员表
 * </p>
 *
 * @author clever
 * @since 2021-09-27
 */
@TableName("sys_admin_user")
@ApiModel(value = "SysAdminUser对象", description = "管理人员表")
public class SysAdminUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("主键id")
    private String sauId;

    @ApiModelProperty("用户头像")
    private String sauAvatar;

    @ApiModelProperty("用户名字")
    private String sauName;

    @ApiModelProperty("用户账号")
    private String sauAccount;

    @ApiModelProperty("密码")
    private String sauPassword;

    @ApiModelProperty("md5密码盐")
    private String sauSalt;

    @ApiModelProperty("用户入职日期")
    private String sauEntryDate;

    @ApiModelProperty("性别(字典) 0 女 1 男")
    private String sauSex;

    @ApiModelProperty("电子邮件")
    private String sauEmail;

    @ApiModelProperty("电话")
    private String sauPhone;

    @ApiModelProperty("岗位ID")
    private String sauPostId;

    @ApiModelProperty("部门ID")
    private String sauDeptId;

    @ApiModelProperty("状态(字典) 0 正常 1 冻结")
    private String sauStatus;

    @ApiModelProperty("创建时间")
    private LocalDateTime dateCreated;

    @ApiModelProperty("更新时间")
    private LocalDateTime dateUpdated;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("修改人")
    private String updateUser;

    @ApiModelProperty("删除标识 0 正常 1 删除")
    @TableLogic
    private String delFlag;

    @ApiModelProperty("乐观锁")
    private Integer version;


    public String getSauId() {
        return sauId;
    }

    public void setSauId(String sauId) {
        this.sauId = sauId;
    }

    public String getSauAvatar() {
        return sauAvatar;
    }

    public void setSauAvatar(String sauAvatar) {
        this.sauAvatar = sauAvatar;
    }

    public String getSauName() {
        return sauName;
    }

    public void setSauName(String sauName) {
        this.sauName = sauName;
    }

    public String getSauAccount() {
        return sauAccount;
    }

    public void setSauAccount(String sauAccount) {
        this.sauAccount = sauAccount;
    }

    public String getSauPassword() {
        return sauPassword;
    }

    public void setSauPassword(String sauPassword) {
        this.sauPassword = sauPassword;
    }

    public String getSauSalt() {
        return sauSalt;
    }

    public void setSauSalt(String sauSalt) {
        this.sauSalt = sauSalt;
    }

    public String getSauEntryDate() {
        return sauEntryDate;
    }

    public void setSauEntryDate(String sauEntryDate) {
        this.sauEntryDate = sauEntryDate;
    }

    public String getSauSex() {
        return sauSex;
    }

    public void setSauSex(String sauSex) {
        this.sauSex = sauSex;
    }

    public String getSauEmail() {
        return sauEmail;
    }

    public void setSauEmail(String sauEmail) {
        this.sauEmail = sauEmail;
    }

    public String getSauPhone() {
        return sauPhone;
    }

    public void setSauPhone(String sauPhone) {
        this.sauPhone = sauPhone;
    }

    public String getSauPostId() {
        return sauPostId;
    }

    public void setSauPostId(String sauPostId) {
        this.sauPostId = sauPostId;
    }

    public String getSauDeptId() {
        return sauDeptId;
    }

    public void setSauDeptId(String sauDeptId) {
        this.sauDeptId = sauDeptId;
    }

    public String getSauStatus() {
        return sauStatus;
    }

    public void setSauStatus(String sauStatus) {
        this.sauStatus = sauStatus;
    }

    public LocalDateTime getDateCreated() {
        return dateCreated;
    }

    public void setDateCreated(LocalDateTime dateCreated) {
        this.dateCreated = dateCreated;
    }

    public LocalDateTime getDateUpdated() {
        return dateUpdated;
    }

    public void setDateUpdated(LocalDateTime dateUpdated) {
        this.dateUpdated = dateUpdated;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "SysAdminUser{" +
        "sauId=" + sauId +
        ", sauAvatar=" + sauAvatar +
        ", sauName=" + sauName +
        ", sauAccount=" + sauAccount +
        ", sauPassword=" + sauPassword +
        ", sauSalt=" + sauSalt +
        ", sauEntryDate=" + sauEntryDate +
        ", sauSex=" + sauSex +
        ", sauEmail=" + sauEmail +
        ", sauPhone=" + sauPhone +
        ", sauPostId=" + sauPostId +
        ", sauDeptId=" + sauDeptId +
        ", sauStatus=" + sauStatus +
        ", dateCreated=" + dateCreated +
        ", dateUpdated=" + dateUpdated +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", delFlag=" + delFlag +
        ", version=" + version +
        "}";
    }
}
